package com.zhijiang.hospital.entrty.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author 75936
 * @version 1.0
 * @project zhiJiangHealthBureau
 * @description
 * @date 2023-01-10 15:49:04
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class EmployeeDto {
    //员工编号
    private String emplCode;
    //校验密码
    private String password;
    //员工姓名
    private String emplName;
    //部门编号
    private String deptCode;
    //部门名称
    private String deptName;
    //员工手机号码
    private String REMARK;
    //参会开始时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date pBeginDate;
    //参会结束时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date pEndDate;
    //会议时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date mBeginDate;
    //员工有效性 0停用 1有效 2废弃
    private String  validState;
    private String token;

}
